Marker Editing Using SCPI

This topic describes the SCPI commands used for editing markers in non-volatile memory.

Set Marker

Sets a single marker point or a range of marker points on a waveform segment for the selected marker (1–4).

There are three ways to place marker points using this command:

The following list describes the command variables:

SCPI Command

:MEMory:WAVeform:MARKer[:SET] "<file_name>",<marker>,<first_point>,<last_point>,<skip_count>

SCPI Example

MEM:WAV:MARK "NVWFM:MyWaveform",1,40,100,2

!This example sets marker 1 on the first point, 40, the last point, 100, and every third point (skip 2) between 40 and 100 (assuming the waveform file has at least 100 points).

Backwards Compatibility SCPI

[:SOURce]:RADio:ARB:MARKer[:SET]

Initial S/W Revision

A.03.00

Clear Marker

Clears a single marker point or a range of marker points on a waveform segment for the selected marker (1–4).

To clear a single marker point, use the same marker point for the first and last point variables.

SCPI Command

:MEMory:WAVeform:MARKer:CLEar "<file_name>",<marker>,<first_point>,<last_point>

SCPI Example

MEM:WAV:MARK:CLE "NVWFM:MyWaveform",1,1,300

!This example clears marker 1 from the first point through the 300th point in a waveform file MyWaveform.

Backwards Compatibility SCPI

[:SOURce]:RADio:ARB:MARKer:CLEar

Initial S/W Revision

A.03.00

Clear Marker All

Clears all marker points on a waveform segment for the selected marker (1–4).

SCPI Command

:MEMory:WAVeform:MARKer:CLEar:ALL "<file_name>",<marker>

SCPI Example

MEM:WAV:MARK:CLE:ALL "NVWFM:MyWaveform",1

!This example clears marker 1 from the all waveform points in a waveform file MyWaveform.

Backwards Compatibility SCPI

[:SOURce]:RADio:ARB:MARKer:CLEar:ALL

Initial S/W Revision

A.03.00

Rotate Marker

Shifts the marker points for all markers in a waveform segment earlier or later by the value of the <rotate_count> variable.

You can use a positive or negative value. When a marker point is close to the end of the waveform and the <rotate_count> value is greater than the number of remaining marker points, but less than the total number of marker points, the marker points that would move beyond the end of the waveform wrap to the beginning of the waveform. For example, if a marker point resides at sample point 195 out of 200, and the <rotate_count> value is twenty–five, the marker point wraps to the beginning of the waveform and continues out to the twentieth waveform point.

SCPI Command

:MEMory:WAVeform:MARKer:ROTate "<file_name>",<rotate_count>

SCPI Example

MEM:WAV:MARK:ROT "NVWFM:MyWaveform",100

!This example shifts all markers set in a waveform file MyWaveform 100 points later. If the first set point in the file is at 50, then after sending this command, the first set point will be 150 (assuming the waveform file has at least 150 points and no later set points wrapped around to the beginning of the file).

Backwards Compatibility SCPI

[:SOURce]:RADio:ARB:MARKer:ROTate

Initial S/W Revision

A.03.00

Using the Marker Editor